package com.symbol;

public class Constsym extends Symbol {
	
	public int value;
	
	public Constsym(int v,String name)
	{
		super(Kind.CONST,name);
		this.value=v;
	}
	
	public String toString()
	{
		return "Kind: CONST ,Name: "+name+" Value: "+value;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

}
